<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        #d1{
            width: 200px;
            height: 200px;
            background-color: red;
            /*display: inline;*/
            display: none;
        }

        #s1{
            width: 200px;
            height: 200px;
            background-color: blue;
            display: block;
        }
    </style>

</head>
<body>
    <div id="d1">hello</div>

    <span id="s1">hello</span>
</body>
</html>